package com.qcby.lxt.framedemo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qcby.lxt.framedemo.entity.Test;
import com.qcby.lxt.framedemo.mapper.TestMapper;
import com.qcby.lxt.framedemo.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @className: TestServiceImpl
 * @description:
 * @author: lxt
 * @create: 2021-04-17 23:48
 **/
@Service
public class TestServiceImpl extends ServiceImpl<TestMapper, Test> implements TestService{
    @Autowired
    private TestMapper testMapper;

    @Override
    public List<Test> list(int pageNo, int pageSize) {
//        Page<Object> page = PageHelper.startPage(pageNo, pageSize);
        List<Test> list = testMapper.list(pageNo, pageSize);
        return list;
    }

}
